<?php 
if (isset($accept_message))
   echo'<div class="alert alert-success"><strong>Úspešné vykonanie!</strong> '.$accept_message.'</div>';    

//    echo '<div align="center"><p class="accept_message">' . $accept_message . '</p></div>';
if (isset($error_message))
    echo'<div class="alert alert-error"><strong>Upozornenie!</strong> '.$error_message.'</div>';
?>
<form name="pass_change_form" action="upload_pass_change" method="post">
    <fieldset>
        <label for="adminpass">Heslo admina <?=form_error('adminpass')?></label>
        <input id="adminpass" type="password" name="adminpass" value="<?=set_value('adminpass')?>"/>
        <label for="newpass">Heslo nové <?=form_error('newpass')?></label>
        <input id="newpass" type="password" name="newpass" value="<?=set_value('newpass')?>"/>
        <label for="newpass2">Heslo nové <?=form_error('newpass2')?></label>
        <input id="newpass2" type="password" name="newpass2" value="<?=set_value('newpass2')?>"/> </br>
        <input type="submit" name="Submit" value="Zmeniť" class="btn btn-info" style="height:2em;">
    </fieldset>
</form>
